package com.zh.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 查询日志表
 * </p>
 *
 * @author wiki
 * @since 2018-03-22
 */
@TableName("query_log")
public class QueryLog extends Model<QueryLog> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 姓名
     */
	private String name;
    /**
     * 手机号
     */
	private String mobile;
    /**
     * 身份证
     */
	private String identity;
    /**
     * 商家ID
     */
	@TableField("business_id")
	private String businessId;
    /**
     * 同盾ID
     */
	@TableField("tongdun_id")
	private Long tongdunId;
    /**
     * 用户帐号
     */
	@TableField("user_account")
	private String userAccount;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 创建日期
     */
	@TableField("create_date")
	private Date createDate;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public Long getTongdunId() {
		return tongdunId;
	}

	public void setTongdunId(Long tongdunId) {
		this.tongdunId = tongdunId;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
